package cn.studyjams.s1.contest.autohello.model;

/**
 * Created by liuyang
 * on 2016/11/24.
 */

/**
 * type:
 * 0: phone
 * 1: email
 */
public class Contact {
    private String name;
    private String phoneNumber;
    private String emailAddress;
    private int type;

    public Contact() {
    }

    public Contact(String name, String phoneNumber, String emailAddress, int type) {
        this.name = name;
        this.phoneNumber = phoneNumber;
        this.emailAddress = emailAddress;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
